package com.hx.vending.dao;

import com.hx.vending.bean.EquipmentTypeRise;
import com.hx.vending.bean.Model;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2018/11/26.
 * 设备类型层
 */
@Repository
public interface EquipmentTypeRiseMapper {

    int deleteByPrimaryKey(Integer equipmentTypeRiseId);

    int insertSelective(EquipmentTypeRise record);

    EquipmentTypeRise selectByPrimaryKeySelective(EquipmentTypeRise record);

    List<EquipmentTypeRise> selectByExampleSelective(EquipmentTypeRise record);

    int updateByPrimaryKeySelective(EquipmentTypeRise record);

    int deleteBatchRise(@Param("caseList") List<Integer> caseList);

    int insertBatchRise(@Param("equipmentTypeRiseList") List<EquipmentTypeRise> equipmentTypeRiseList);

    int deleteRiseByTypeId(@Param("equipmentTypeId") Integer equipmentTypeId);

    int deleteRiseByCaseId(@Param("equipmentCaseId") Integer equipmentCaseId);

}
